package com.example.demo3.daoq;

import com.example.demo3.eee.Cla;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ClajpaDao extends JpaRepository<Cla,Integer> {
    public List<Cla> findByNameNotNull();

    List<Cla> findByName(String name);

    List<Cla> findByNameOrGend(String name,String gend);

    List<Cla> findByNameContaining(String name);

    List<Cla> findByStudent(String student);

}
